package com.code.base.state.persistence;

import java.util.List;
import java.util.Map;
import com.code.base.state.pojo.StateHandle;


public interface StateHandleMapper {


	public StateHandle getDataById(Long id);

	public List<StateHandle> getDataByIds(Long[] ids);

	public List<StateHandle> getAllData();

	public int getDataCountByCondition(StateHandle entity);

	public List<StateHandle> getDataByCondition(StateHandle entity);

	public int getDataCountByLikeCondition(StateHandle entity);

	public List<StateHandle> getDataByLikeCondition(StateHandle entity);

	public void insertData(StateHandle entity);

	public void updateData(StateHandle entity);

	public void updateDataByParam(Map<String, Object> map);

	public void deleteDataByObject(StateHandle entity);

	public void deleteDataById(Long id);

	public void deleteDataByIds(Long[] ids);

}
